package com.wutuo.roster.api;

import com.wutuo.roster.api.request.ChildApplyRequest;
import com.wutuo.roster.api.request.ListChildApplyRequest;
import com.wutuo.roster.api.response.ChildApplyResponse;
import com.wutuo.roster.provider.domain.ChildApply;

import java.util.List;

/**
 * Created by Singer_YDW on 2016/11/9.
 */
public interface ChildApplyAPIService {

    public void addorUpdate(ChildApplyRequest record);

    public void del(Long id);

    public List<ChildApplyResponse> lisForPage(ListChildApplyRequest request);

    public List<ChildApplyResponse> list(ChildApplyRequest request);

    /**
     * 更新审核状态 - 审核通过
     *
     * @return void
     * @author lvh 2016年3月30日 上午9:10:59</br>
     */
    public void updateStateSuccess(Long id);

    ChildApply find(Long id);

}
